﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using MasApp.BLL;

public partial class orgman_users_del : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected string del()
    {
        return null;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (Request["un"] != null)
        {
            if (MasApp.BLL.Delete.SetLoginFalse(Request["un"].ToString()))
            {
                MasApp.BLL.ResponseHelper.alert(Request["un"].ToString()+"删除成功！", "list.aspx");
            }
            else
            {
                MasApp.BLL.ResponseHelper.alert( Request["un"].ToString() +"删除失败啦！", "list.aspx");
            } 
        }
        else
            MasApp.BLL.ResponseHelper.alert("非法操作！", "list.aspx");
    }
}
